.container{
    margin: 5% auto;
    width: 80%;
    padding: 10px;
}

a{
    text-decoration: none;
}

#tab-1,#tab-2{
    font-size: 20px;
    color: black;
    text-decoration: none;
}

.tab-underline{
    font-family: Arial, Helvetica, sans-serif;
    padding: 4px;
    border-bottom: 2px solid #caf588;
}

.nav-item-achievement{
    margin: 10px auto;
}

.nav-item-achievement button {
    color:black;
}

/*上传图片*/
.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.img-container img {
    max-width: 100vw;
    margin-bottom: 20px;
    height: auto;
}

.call-camera-container {
    position: relative;
    width: 50px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.call-camera-container button {
    width: 100%;
    height: 100%;
    line-height: 30px;
}

.call-camera-container input {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
}

canvas.used-for-changing-photo-size {
    visibility: hidden;
}

/*record*/
ul{
    list-style-type:none; 
}

textarea{
    width: 80%;
    height:40%;
    border:0;
    border-radius:5px;
    background-color:rgba(241,241,241,.5);
}

.food-record{
    display: block;
    margin: auto;
}

.record-date-list{
    margin: 0 auto;
}

.get-like{
    float:right;
}

.record-date-list{
    text-align: center;
    margin: 1% auto 10% auto;
    width: 80%;
    padding: 5px;
}

.record-date-list li{
    font-size: 30px;
}

.record-date-list li span{
    font-size: 50px;
    color:rgba(0,128,0);
}

.record-achievement-list{
    margin: 1% auto 10% auto;
    width: 100%;
    padding: 5px;
}

.recordDate{
    margin:0 auto;
}